// Copyright 2022 NullPTR. All Rights Reserved.

#pragma once

#include "CoreMinimal.h"
#include "TextInfos.h"

/**
* 用于计算TextBlock和SceneCapture相对位置的工具类
*/
class FTextLayoutUtils
{
public:

	static void CalculateLayout(const FTextLayoutInfo& TextLayoutInfo, const TArray<FTextFontInfo>& TextFontInfo, bool VerticalLayout,
		TArray<FVector>& TextPosition, float* Width = nullptr, float* Height = nullptr);
};
